package demo.day03

// 32 Kotlin语法中对比if判断null值的情乱
fun main() {
    var name: String? = null
    if (name != null) {
        println(name.length)
    } else {
        println("name is null")
    }
}